<{if $show_search == true}>
<table width="100%" border="0" cellspacing="0">
  <tr>
    <form action="search.php" method="GET"><td valign="middle" align="right"><{$lang_search}><input style="font-size=10px;" type="text" name="searchstring" value="" size="25" /></td></form>
  </tr>
</table>
<{/if}>


<table width="100%" class="outer" cellspacing="0">
  <tr>
  	<td align="center" class="odd"><{$lang_page}>
  	<{foreach item=nav from=$navLinks}>
		<{if $nav.url != "" }>
			<a href="<{$nav.url}>" title="Page <{$nav.page}>">&nbsp;<{$nav.page}>&nbsp;</a>
		<{else}>
        	&nbsp;<{$nav.leftdot}> <strong><{$nav.page}></strong> <{$nav.rightdot}>&nbsp;
		<{/if}>
	<{/foreach}>
  	</td>
  </tr>
<{if ($adminHasCommands) }>
  <tr>
    <td class="even"><{$adminbox}></td>
  </tr>
<{/if}>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<{foreach item=album from=$albums}>
<tr><td>
<table width="100%" border="0" cellpadding="0" cellspacing="7">
  <tr>
    <td style="padding 10px;" width="<{$album.image.width}>" height="<{$album.image.height}>"><a href="<{$album.image.link}>"><{$album.image.image}></a></td>
  </tr>
</table>
</td><td>
<table width="100%" border="0" cellpadding="0" cellspacing="7">
  <tr>
    <td style="padding 10px;">
      <div style="font-size: medium; font-weight: bold; padding: 5px;"><{$album.editlink}></div>
      <table class="outer">
        <tr>
          <td nowrap class="head"><{$lang_description}></td>
          <td width="600px" class="even"><{$album.album_desc}></td>
        </tr>
        <tr>
          <td nowrap class="head"><{$lang_owner}></td><td class="even"><a href="<{$xoops_url}>/userinfo.php?uid=<{$album.owner_id}>"><{$album.owner_name}></a></td>
        </tr>
        <{if $album.adminlink == true}>
        <tr><td nowrap class="head"><{$lang_administration}></td><td class="even"><{$album.adminlink}></td></tr>
        <{/if}>
        <tr>
          <td nowrap class="head"><{$lang_lastupdate}></td><td class="even"><{$album.last_modified}></td>
        </tr>
        <tr>
          <td nowrap class="head"><{$lang_items}></td><td class="even"><{$album.num_photos}></td>
        </tr>
        <{if $album.num_views != ""}>
        <tr>
          <td nowrap class="head"><{$lang_views}></td><td class="even"><{$album.num_views}> (<{$album.num_views_since}>) <{$album.num_views_resetlink}></td>
        </tr>
        <{/if}>
        <tr>
          <td nowrap class="head"><{$lang_subalbums}></td><td class="even"><{$album.albumtree}></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</td></tr>
<{/foreach}>
</table>

<table width="100%" class="outer" cellspacing="0">
  <tr>
    <td class="even"><{$adminbox}></td>
  </tr>
  <tr>
  	<td align="center" class="odd"><{$lang_page}> 
  	<{foreach item=nav from=$navLinks}>
		<{if $nav.url != "" }>
			<a href="<{$nav.url}>" title="Page <{$nav.page}>">&nbsp;<{$nav.page}>&nbsp;</a>
		<{else}>
        	&nbsp;<{$nav.leftdot}> <strong><{$nav.page}></strong> <{$nav.rightdot}>&nbsp;
		<{/if}>
	<{/foreach}>
  	</td>
  </tr>
  
</table>
<table border="0" width="100%">
  <tr>
	<td> 
	  <!-- The Gallery code version number, linked to the Gallery home page -->
      <span style="font-size: 8px;"> Powered by <a href="http://www.xoopsgallery.org/" target="_blank" style="font-size: 8px">XoopsGallery</a> 
      v<{$gallery_version}>
      <br />
	  Ported from <a href="http://gallery.sf.net/" target="_blank" style="font-size: 8px">Gallery</a> 
	  </span> </td>
  </tr>
</table>
